package com.six.backend.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author : 张重阳
 * @date : 2021-12-02 11:05
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("用户问卷完成状态")
public class UserFinishState {

    @ApiModelProperty("用户名称")
    private String name;

    @ApiModelProperty("用户账号")
    private String account;

    @NotNull
    @ApiModelProperty("德尔菲问卷编号")
    private Integer delphiId;

    @ApiModelProperty("完成状态")
    private Boolean state;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty("完成时间")
    private Date finishTime;
}
